//
//  NSValueAdditions.h
//  HigherOrderMessaging
//
//  Created by Ofri Wolfus on 30/08/06.
//  Copyright 2006 Ofri Wolfus. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSValue (HOMAdditions)

+ (id)valueForType:(const char *)objcType value:(void *)value;

@end

#define asobject(X...) ({ __typeof__(X) __x = X; [NSValue valueForType:@encode(__x) value:&__x]; })
#define asObject(X...) asobject(X)
